// 标准规范

import request from "./axios";

export const TensionSectionAPI = {
    getList: (params) => request.get("/entities/tensionSection", { params }),

    create: (data) => request.post("/entities/tensionSection", data),

    getDetail: (id) => request.get(`/entities/tensionSection/${id}`),

    update: (id, data) => request.put(`/entities/tensionSection/${id}`, data),

    delete: (id) => request.delete(`/entities/tensionSection/${id}`),
};
